
import 'vant/lib/index.css'
import '@/styles/base.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)

import { 
  Icon,
  Tabbar, 
  TabbarItem,
  Loading,
  Tab, 
  Tabs,
  Sticky,
  Search,
  Toast,
  Popup,
  Progress,
  ShareSheet,
  NavBar,
  ConfigProvider,
  TextEllipsis,
  PullRefresh,
  List,
  Cell, 
  CellGroup 
 } from 'vant'
app.use(Icon)
app.use(Tabbar)
app.use(TabbarItem)
app.use(Loading)
app.use(Tab)
app.use(Tabs)
app.use(Sticky)
app.use(Search)
app.use(Toast)
app.use(Popup)
app.use(Progress)
app.use(ShareSheet)
app.use(NavBar)
app.use(ConfigProvider)
app.use(TextEllipsis)
app.use(PullRefresh)
app.use(List)
app.use(Cell)
app.use(CellGroup)
app.mount('#app')
// mine下面有一个相片墙，所以需要设置透明色'transparent'
//document.getElementById('app')!.style.backgroundColor = 'red'
export default app

